﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using aerowan.common.Network;

namespace aerowan.pilot_client.Network.Packets
{
    public class CSPkt_Login : BaseLocalPacket
    {
        public int AccountID;
        public string Password;
        public string Callsign;

        public CSPkt_Login()
            : base(0x04)
        {

        }

        public override void WritePacket(NetConnection con)
        {
            this.WriteByte(0x33);
            this.WriteInt(AccountID);
            this.WriteByte(0xFF);
            this.WriteString(Password);
            this.WriteByte(0xFF);
            this.WriteString(Callsign);
        }
    }
}
